package com.carbon.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 盘点信息(Check)表实体类
 *
 * @author WangFK
 * @since 2023-09-05 08:50:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Check对象", description = "盘点信息")
@TableName("checks")
public class Check implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String checkId;

    /**
     * 单据号
     */
    @ApiModelProperty(value = "单据号")
    private String orderId;

    /**
     * 物料类型
     */
    @ApiModelProperty(value = "物料类型")
    private String goodsType;

    /**
     * 仓库id
     */
    @ApiModelProperty(value = "仓库id")
    private Integer wareId;

    /**
     * 生产批号id
     */
    @ApiModelProperty(value = "生产批号id")
    private Integer batchId;

    /**
     * 盘点类型
     */
    @ApiModelProperty(value = "盘点类型")
    private String checkType;

    /**
     * 库存月份
     */
    @ApiModelProperty(value = "库存月份")
    private String wareMon;

    /**
     * 盘点日期
     */
    @ApiModelProperty(value = "盘点日期")
    private Date createTime;

    /**
     * 负责人
     */
    @ApiModelProperty(value = "负责人")
    private String createBy;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String updateBy;

    /**
     * 库存总量
     */
    @ApiModelProperty(value = "库存总量")
    private Integer wareTotalNum;

    /**
     * 实际库存
     */
    @ApiModelProperty(value = "实际库存")
    private Integer wareNum;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 盘点状态 0 正常 1下架
     */
    @ApiModelProperty(value = "盘点状态 0 正常 1下架")
    private String checkStatus;

    /**
     * 逻辑删除 0 未删除 1删除
     */
    @ApiModelProperty(value = " 逻辑删除 0 未删除 1删除")
    private String delFlag;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @TableField(exist = false)
    private String batchName;

}

